|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
CorrelationImpl.java | - | 0% | 0% | 0% |
|
1 |
/*
|
|
2 |
* $Id: CorrelationImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.elements.impl;
|
|
10 |
|
|
11 |
import bexee.core.ProcessController;
|
|
12 |
import bexee.core.ProcessInstance;
|
|
13 |
import bexee.model.BPELElementVisitor;
|
|
14 |
import bexee.model.elements.Correlation;
|
|
15 |
import bexee.model.elements.CorrelationPattern;
|
|
16 |
|
|
17 |
/**
|
|
18 |
* Default implementation of the <code>Correlation</code> BPEL element.
|
|
19 |
*
|
|
20 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
|
|
21 |
* @author Patric Fornasier
|
|
22 |
* @author Pawel Kowalski
|
|
23 |
*/
|
|
24 |
public class CorrelationImpl implements Correlation { |
|
25 |
|
|
26 |
private String set;
|
|
27 |
|
|
28 |
private boolean initiate; |
|
29 |
|
|
30 |
private CorrelationPattern pattern;
|
|
31 |
|
|
32 |
//**************************************************/
|
|
33 |
// c'tors
|
|
34 |
//**************************************************/
|
|
35 |
|
|
36 | 0 |
public CorrelationImpl() {
|
37 | 0 |
super();
|
38 |
} |
|
39 |
|
|
40 |
//**************************************************/
|
|
41 |
// bexee.model.elements.Correlation
|
|
42 |
//**************************************************/
|
|
43 |
|
|
44 | 0 |
public void setSet(String set) { |
45 | 0 |
this.set = set;
|
46 |
} |
|
47 |
|
|
48 | 0 |
public String getSet() {
|
49 | 0 |
return set;
|
50 |
} |
|
51 |
|
|
52 | 0 |
public void setInitiate(boolean initiate) { |
53 | 0 |
this.initiate = initiate;
|
54 |
} |
|
55 |
|
|
56 | 0 |
public boolean isInitiate() { |
57 | 0 |
return initiate;
|
58 |
} |
|
59 |
|
|
60 | 0 |
public void setPattern(CorrelationPattern pattern) { |
61 | 0 |
this.pattern = pattern;
|
62 |
} |
|
63 |
|
|
64 | 0 |
public CorrelationPattern getPattern() {
|
65 | 0 |
return pattern;
|
66 |
} |
|
67 |
|
|
68 |
//**************************************************/
|
|
69 |
// bexee.model.BPELElement
|
|
70 |
//**************************************************/
|
|
71 |
|
|
72 | 0 |
public void accept(ProcessController controller, ProcessInstance instance) |
73 |
throws Exception {
|
|
74 | 0 |
controller.process(this, instance);
|
75 |
} |
|
76 |
|
|
77 | 0 |
public void accept(BPELElementVisitor elementVisitor) { |
78 | 0 |
elementVisitor.visit(this);
|
79 |
} |
|
80 |
} |
|